#ifndef ROWLABEL_H
#define ROWLABEL_H

#include "rect.h"
class Font;
class Skin;

class RowLabel {
public:
     static const int SeparatorThickness = 1;
     // rect width is auto set based on char width
     RowLabel(int count, int charWidth, Font *pFont, Point start, int height, 
	      int highlight, Skin *pSkin);
     int count();
     void setCount(int count);
     void setOffset(int offset);
     void setStart(Point start);
     void setHeight(int height);
     Rect rect();
     void paint();
     int highlight();
     void setHighlight(int highlight);
     void setFont(Font *pFont);

private:
     static const int Padding = 1;
     int m_count;
     int m_charWidth;
     Font *m_pFont;
     Point m_start;
     int m_height;
     int m_offset;
     int m_highlight;
     Skin *m_pSkin;
};

#endif
